package top.chatgqt.SmartChargeStation.demo.mqtt.PahoMode.conf;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class MqttConf {

    @Value("${mqtt.options.username}")
    private String username;
    @Value("${mqtt.options.password}")
    private String password;

    @Value("${mqtt.host}")
    private String host;
    @Value("${mqtt.client_id}")
    private String clientId;
    @Value("${mqtt.options.clean_session}")
    private boolean cleanSession;
}
